package edu.zut;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int no=scan.nextInt();
        String name=scan.next();
        int age=scan.nextInt();
        String seminary=scan.next();
        int no1=scan.nextInt();
        String name1=scan.next();
        int age1=scan.nextInt();
        String seminary1=scan.next();
        System.out.println("no:"+no+", name:"+name+", age:"+age+", seminary:"+seminary);
        System.out.println("no:"+no1+", name:"+name1+", age:"+age1+", seminary:"+seminary1);
      //  System.out.println(Teacher.equals(Teacher1));
    }
}
class teacher{
    private int no;
    private String name;
    private int age;
    private String seminary;
    public teacher(int no,String name,int age,String seminary){
        this.no=no;
        this.name=name;
        this.age=age;
        this.seminary=seminary;
    }
    public void setNo(int n){
        no=n;
    }
    public void setName(String m){
        name=m;
    }
    public void setAge(int g){
        age=g;
    }
    public void setSeminary(String t){
        seminary=t;
    }
    public int getNo(){
        return no;
    }
    public String getName(){
        return name;
    }
    public int getAge(){
        return age;
    }
    public String getSeminary(){
        return seminary;
    }
}

//class Teacher extends teacher{
  //  public Teacher(int  no,String name,int age,String seminary){

//    }

//}
//class Teacher1 extends teacher{
    //public Teacher1(int  no1,String name1,int age1,String seminary1){
        
    //}

//}